package com.hdu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 班级实体类
 * </p>
 *
 * @author xiaobai
 * @since 2024-05-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("class")
public class Class implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "cID", type = IdType.INPUT)
    private String cID;

    /**
     * 班主任编号
     */
    @TableField(value = "tID")
    private String tID;

    /**
     * 班级人数
     */
    private Integer number;

    /**
     * 班级封面
     */
    private String avatar;


}
